//
//  MiClase.m
//  DemoApp
//
//  Created by Santiago Fontanarrosa on 5/25/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "MiClase.h"

@implementation MiClase

@synthesize mensage = _mensage;
@synthesize delegate = _delegate;

+(NSString*)holaMundo
{
    return @"Hola Mundo %@!!!!";
}

-(NSString*)miHolaMundo
{
    return [NSString stringWithFormat:@"Hola %@",self.mensage];
}


-(NSString*)holaMundoConDelegado
{
    NSString *delegateMessage = [self.delegate willSayHolaMundo];
    return [NSString stringWithFormat:@"Hola mundo les desea %@",delegateMessage];
}


@end
